package inabit.inabitcompiler.productions.rule;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;

/**R'->RR'*/
/**@author Rafael Rocha*/
public class R1_Rule extends Production{

	private NonTerminal R;
	private NonTerminal R1;
	
	public R1_Rule() {
		super("R'");
	}
	
	@Override
	protected Symbol[] production(NonTerminal nonTerminal) {
		R = new NonTerminal("R");
		R1 = new NonTerminal("R'");
		Symbol[] symbols = {
				R,
				R1
		};
		return symbols;
	}
}
